From: Stefan Monnier Date: Tue, 27 Jan 2004 16:46:34 +0000 (+0000) Subject: : Use fink packages if available. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24349 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8eac9d45e5eaa24976f039e96602e1741ad7994b;p=emacs.git : Use fink packages if available. --- diff --git a/configure.in b/configure.in index 8663ce9765c..d5e4ba1e69b 100644 --- a/configure.in +++ b/configure.in @@ -1135,6 +1135,12 @@ dnl see the `changequote' comment above. machine=powermac opsys=darwin # Define CPP as follows to make autoconf work correctly. CPP="${CC-cc} -E -no-cpp-precomp" + # Use fink packages if available. + if test -d /sw/include && test -d /sw/lib; then + GCC_TEST_OPTIONS="-I/sw/include -L/sw/lib" + CPP="${CPP} ${GCC_TEST_OPTIONS}" + NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS} + fi ;; ## AMD x86-64 Linux-based GNU system